﻿using MediatR;
using T.Settlement.Domain;
using T.Settlement.Domain.DTO;

namespace T.Settlement.Read.API.Application.Command.InvoiceCommand
{
    public class InvoiceShowCommand:IRequest<SListDTO<Invoice>>
    {
        /// <summary>
        /// 开票单位(可空)
        /// </summary>
        public string? InvoicingUnit { get; set; }
        /// <summary>
        /// 客户名称(可空)
        /// </summary>
        public string? CustomerName { get; set; }
        /// <summary>
        /// 发票类型
        /// </summary>
        public int? InvoiceType { get; set; }
        /// <summary>
        /// 开票日期
        /// </summary>
        public DateTime? InvoicingDate { get; set; }
        /// <summary>
        /// 发票分类(进项1、销项2)
        /// </summary>
        public int? InvoiceClassify { get; set; }
        /// <summary>
        /// 全球唯一标识符
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int? PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int? PageSize { get; set; }
    }
}
